Initial version
[LED tetris] / flash168
1 #!/bin/bash
2
3 # flashing script for Arduino bootloader (working via USB)
4
5 CONF="/home/dmitry/Projects/Arduino/arduino-0011/hardware/tools/avrdude.conf"
6 DUDE="/home/dmitry/Projects/Arduino/arduino-0011/hardware/tools/avrdude"
7
8 sudo $DUDE -C $CONF -p m168 -U flash:w:compiled.hex -c stk500v1 -P /dev/ttyUSB0 -b 19200 -D 
9 //avrdude -p m168 -P /dev/ttyUSB0 -c stk500v1 -b 19200 -F -u -U flash:w:blink.hex
10
Contact me: dev (at) shalnoff (dot) com
PGP fingerprint: A6B8 3B23 6013 F18A 0C71 198B 83D8 C64D 917A 5717